package com.jf.springboot.web;

import org.springframework.web.bind.annotation.*;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:22954
 * Date:2024-12-05
 * Time:10:48
 */
@RequestMapping("/rest")
@RestController
public class RestfulController {
    @GetMapping("/rr")
    public String getRr() {
        return "Get rr";
    }
    @PostMapping("/rr")
    public String postRr() {
        return "Post rr";
    }
    @PutMapping("/rr")
    public String putRr() {
        return "Put rr";
    }
    @DeleteMapping("/rr")
    public String deleteRr() {
        return "Delete rr";
    }
    @PatchMapping("/rr")
    public String patchRr() {
        return "Patch rr";
    }
}
